package com.wc.user.service.impl;

import com.wc.base.service.impl.BaseServiceImpl;
import com.wc.user.bean.CSDNEntity;
import com.wc.user.dao.CSDNDao;
import com.wc.user.service.CSDNService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Description:
 * @Author: wuchao
 * @Date: 2018/8/30
 */
@Service
@Transactional
public class CSDNServiceImpl extends BaseServiceImpl<CSDNEntity,Integer> implements CSDNService {

    @Autowired
    private CSDNDao cSDNDao;
    /**
     * 功能描述: 获取数据库仓库
     *
     * @param:
     * @return:
     * @auther: wuchao
     * @date: 2018/8/1 14:18
     */
    @Override
    public JpaRepository getBaseRepository() {
        return cSDNDao;
    }
}
